﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ProjectManagerEditControl.ascx.cs"
    Inherits="LenderClearingHouse.ProjectManagerEditControl" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<table width="100%">
    <tr>
        <td>
            <table width="100%">
                <tr>
                    <td width="10%">
                        Property Location
                    </td>
                    <td>
                        <telerik:RadTextBox ID="edPropertyLocation" runat="server" Text='<%# DataBinder.Eval( Container, "DataItem.PropertyLocation") %>'
                            Enabled="False" ReadOnly="True" Width="300px">
                        </telerik:RadTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        Est Rehab Comp Date
                    </td>
                    <td>
                        <telerik:RadDatePicker ID="edEstRehabCompDate" runat="server" DbSelectedDate='<%# DataBinder.Eval( Container, "DataItem.EstRehabCompDate") %>'
                            Width="300px">
                        </telerik:RadDatePicker>
                    </td>
                </tr>
                <tr>
                    <td>
                        Actual Comp Date
                    </td>
                    <td>
                        <telerik:RadDatePicker ID="edActualCompDate" runat="server" DbSelectedDate='<%# DataBinder.Eval( Container, "DataItem.ActualCompDate") %>'
                            Width="300px">
                        </telerik:RadDatePicker>
                    </td>
                </tr>
                <tr>
                    <td>
                        Notes - Status
                    </td>
                    <td>
                        <telerik:RadTextBox ID="edNotesStatus" runat="server" Text='<%# DataBinder.Eval( Container, "DataItem.NotesStatus") %>'
                            Width="300px">
                        </telerik:RadTextBox>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<br />
<br />
<table>
    <tr>
        <td>
            <asp:Button ID="btnUpdate" Text="Update" runat="server" CommandName="Update" Visible='<%# !(DataItem is Telerik.Web.UI.GridInsertionObject) %>'>
            </asp:Button>
            <asp:Button ID="btnInsert" Text="Insert" runat="server" CommandName="PerformInsert"
                Visible='<%# DataItem is Telerik.Web.UI.GridInsertionObject %>'></asp:Button>
            &nbsp;
            <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False"
                CommandName="Cancel"></asp:Button>
        </td>
    </tr>
</table>
